package com.luwak.pattern.decorator;

/**
  * @author wanggang
  * @date 2018年3月30日 上午9:45:22
  * 
  */
public abstract class ShapeDecorator implements Shape {
	
	protected Shape decoratedShape;
	
	public ShapeDecorator(Shape decoratedShape){
	      this.decoratedShape = decoratedShape;
	   }
	
	public void draw() {
		decoratedShape.draw();
	}

}
